import { RegisterUser } from '@/types/user'
import request from '@/utils/request'
/**
 * 获取网站配置
 * @returns
 */
export const registerInf = (data: RegisterUser): ResponseDefault =>
  request({
    url: `${import.meta.env.VITE_APP_BASE_API}/user/register`,
    method: 'POST',
    data
  })
